// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

//引用进度条组件
import VueProgress from 'vue-progress'
Vue.use(VueProgress)

//引入layer
import layer from 'vue-layer'
Vue.prototype.$layer = layer(Vue);

// 引用bootstrap框架
import "./assets/bootstrap-3.3.7-dist/css/bootstrap.min.css"
import "./assets/bootstrap-3.3.7-dist/js/bootstrap.min"

// 引用mobiscroll框架
import "./assets/Mobiscroll/css/mobiscroll.custom-3.0.0-beta6.min.css"

// 引用字体图标
import "./assets/font-awesome-4.7.0/css/font-awesome.min.css"

// 引用动画效果
import "./assets/animate.css"

//引入swiper
import Swiper from 'swiper'
import 'swiper/dist/css/swiper.min.css'

// 引用全局配置
import "./config"

// 引用全局方法
import "./util/common.js"
import "./util/date.js"

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
	el: '#app',
	router,
	template: '<App/>',
	components: {
		App
	}
})